
package com.shop.cloud.mall.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shop.cloud.mall.common.entity.SupplierGoodsSpuSpec;
import com.shop.cloud.mall.admin.mapper.SupplierGoodsSpuSpecMapper;
import com.shop.cloud.mall.admin.service.SupplierGoodsSpuSpecService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 供应商spu规格表
 *
 * @author
 * @date 2024-11-06 10:10:46
 */
@Service
public class SupplierGoodsSpuSpecServiceImpl extends ServiceImpl<SupplierGoodsSpuSpecMapper, SupplierGoodsSpuSpec> implements SupplierGoodsSpuSpecService {

    @Override
    public List<SupplierGoodsSpuSpec> tree(SupplierGoodsSpuSpec supplierGoodsSpuSpec) {
        return baseMapper.selectTree(supplierGoodsSpuSpec.getSpuId());
    }
}
